package com.fatesgo.service;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

import com.fatesgo.util.Response;

public interface ILoginService {

    /**
	 * <p>@方法名描述	：登录 </p>
	 *
	 * @param userName
	 * @param password
	 * @return
	 */
    Response login(String userName, String password);

    // 退出登录方法
    Response logout(String token,String userId);
}
